package com.neuedu.service;

import com.neuedu.common.JSONData;
import com.neuedu.pojo.Shipping;

import java.util.List;

public interface ShippingService {
    public JSONData<String> addShipping(Integer userId, Shipping shipping);
    public JSONData<String> updateShippingByIdAndUserId(Integer userId,Shipping shipping);
    public JSONData<Shipping> selShippingByIdAndUserId(Integer userId,Integer shippingId);
    public JSONData<List<Shipping>> selAllShippingByUserId(Integer userId);
    public JSONData<List<Shipping>> delShippingByShippingIds(Integer userId,String shippingIds);
}
